import request from "../utils/requestUtil.js";


/**
 * 查询所有分类
 * @type
 */
// export const getClassListApi = async () => {
//     console.log("执行e")
//     return await request.get('/tag/selectAllParentTag')
// }


export async function getClassListApi() {
    return await request.get('/api/tag/selectAllParentTag')
}


/**
 * 查询所有子标签
 * @returns
 */
export const getTagListApi = async () => {
    return await request.get('/api/tag/selectChildTag')
}
